Carbon


FSpSetFInfo

Header: Files.h Carbon status: Supported

Sets the Finder information about a file or directory.

OSErr FSpSetFInfo (
    const FSSpec *spec, 
    const FInfo *fndrInfo
);
Parameter descriptions
spec

A pointer to an FSSpec structure specifying the file or directory whose Finder information will be set.

fndrInfo

A pointer to information to be used by the Finder.

function result

A result code.

DISCUSSION

The FSpSetFInfo function changes the Finder information in the volume catalog entry for the specified file or directory. FSpSetFInfo allows you to set only the original Finder information—the FInfo or DInfo structures, not FXInfo or DXInfo.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)